package com.ngkj.zmfptback.business.mapper.read;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ngkj.zmfptback.business.bean.BusinessEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author ChenHN
 * @since 2021/12/27 creation
 **/
@Mapper
public interface BusinessReadMapper extends BaseMapper<BusinessEntity> {
    IPage<Map<String,Object>> getBusinessPage(@Param("business") BusinessEntity business, @Param("page") Page<BusinessEntity> page);

    List<BusinessEntity> getSqByQywzid(String qywzid);
}
